import React, { PureComponent } from "react";
import { Tabs } from "antd";
import AddInventory from "./AddInventory";
import AddProduct from "./AddProduct";
import Message from "./Message";
export default class Index extends PureComponent {
  render() {
    return (
      <Tabs defaultActiveKey="1" size="large" tabPosition="left">
        <Tabs.TabPane tab="我的消息" key="1">
          <Message />
        </Tabs.TabPane>
        <Tabs.TabPane tab="添加商品" key="2">
          <AddProduct />
        </Tabs.TabPane>
        <Tabs.TabPane tab="添加库存" key="3">
          <AddInventory />
        </Tabs.TabPane>
      </Tabs>
    );
  }
}
